package com.taotao.wjspringboot.config;

import com.taotao.wjspringboot.entity.UserEntity;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangjin
 * @title: KtConfig
 * @projectName wj-springboot
 * @description:
 * @date 2021/10/23 15:33
 */
@Configuration
@ComponentScan("com.taotao.wjspringboot.service")
public class KtConfig {
    @Bean
    public UserEntity userEntity() {
        return new UserEntity(123, "kt");
    }


}
